package com.groupseven.backend.services;

import com.groupseven.backend.domain.Log.OperationLog;

import java.util.Date;
import java.util.List;

public interface OperationLogService {
    /**
     * @Author 王兆阳
     * @param operationLog
     * @return
     */
    int insertOperationLog(OperationLog operationLog);

    /**
     * @Author 王兆阳
     * @param username
     * @return
     */
    int deleteOperationLog(String username);

    /**
     * @Author 王兆阳
     * @return
     */
    List<OperationLog> selectOperationLog();
    /**
     * @Author 王兆阳
     * @return
     */
    List<OperationLog> selectOperationByusername(String username);

    List<OperationLog> selectOperationBycreatetime(String createtime);

    int deleteOperationLogBycreatetime(String createtime);

    int mutildelBycreatetimelist(List<Date> createtimes);

    List<OperationLog> selectOperationBystimeandetime(Date stime, Date etime);
}
